package com.hb.trans.mvp.contract

import com.basiclib.inter.IModel
import com.basiclib.inter.IMvpView
import com.hb.trans.bean.Base
import com.hb.trans.bean.HomeList
import io.reactivex.Observable

interface HomeContract {

    interface View : IMvpView {
        fun setUpdata(data: HomeList?)
    }


    interface Model : IModel {
        fun getNews(): Observable<Base<HomeList>>

    }
}